package donnees;

import java.util.*;

public class Alerte {
	
	private float cpu;
	private float ram;
	private float hdd;
	private float process;
	private Date date;
	private String ID;
	
	public void Afficher()
	{
		
		System.out.println("Machine : "+ID);
		System.out.println("Date : "+date);
		System.out.println("pourcentage CPU : "+Float.toString(cpu));
		System.out.println("pourcentage HDD : "+Float.toString(hdd));
		System.out.println("pourcentage RAM : "+Float.toString(ram));
		System.out.println("processus : "+Float.toString(process));
		
	}
	
	public float getcpu() {
		return cpu;
	}
	public void setcpu(float seuil_cpu) {
		this.cpu = seuil_cpu;
	}
	public float gethdd() {
		return hdd;
	}
	public void sethdd(float seuil_hdd) {
		this.hdd = seuil_hdd;
	}
	public float getprocess() {
		return process;
	}
	public void setprocess(float seuil_process) {
		this.process = seuil_process;
	}
	public float getram() {
		return ram;
	}
	public void setram(float seuil_ram) {
		this.ram = seuil_ram;
	}
	
	public String getID() {
		return ID;
	}
	public void setID(String sID) {
		this.ID= sID;
	}
	
	public Date getdate() {
		return date;
	}
	public void setdate(Date sDate) {
		this.date= sDate;
	}
}

